package com.hubu.chat.message;

import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class LoginResponseMessage extends AbstractResponseMessage {
    public LoginResponseMessage(boolean b, String result) {
        this.setReason(result);
        this.setSuccess(b);
    }

    @Override
    public int getMessageType() {
        return LoginResponseMessage;
    }
}
